package com.ef.web.domain;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 当天课程统计
 * @author jsper
 * @version 1.0 createDate 2010-2-5
 *
 */
public class TodayCourseCount {
	
	private Date today;
	
	private int availableCourseCount = 0;
	
	private int fullCourseCount = 0;
	
	private int waitingStudents = 0;
	
	private int checkinStudents = 0;
	
	private int allBookingStudents = 0;
	
	private int waitingForClassStudents = 0;
 	
	private String dispalyName;

	public Date getToday() {
		return today;
	}

	public void setToday(Date today) {
		this.today = today;
	}

	public int getAvailableCourseCount() {
		return availableCourseCount;
	}

	public void setAvailableCourseCount(int availableCourseCount) {
		this.availableCourseCount = availableCourseCount;
	}

	public int getFullCourseCount() {
		return fullCourseCount;
	}

	public void setFullCourseCount(int fullCourseCount) {
		this.fullCourseCount = fullCourseCount;
	}

	public int getWaitingStudents() {
		return waitingStudents;
	}

	public void setWaitingStudents(int waitingStudents) {
		this.waitingStudents = waitingStudents;
	}

	public int getCheckinStudents() {
		return checkinStudents;
	}

	public void setCheckinStudents(int checkinStudents) {
		this.checkinStudents = checkinStudents;
	}

	public int getAllBookingStudents() {
		return allBookingStudents;
	}

	public void setAllBookingStudents(int allBookingStudents) {
		this.allBookingStudents = allBookingStudents;
	}

	public int getWaitingForClassStudents() {
		return waitingForClassStudents;
	}

	public void setWaitingForClassStudents(int waitingForClassStudents) {
		this.waitingForClassStudents = waitingForClassStudents;
	}

	private SimpleDateFormat df=new SimpleDateFormat("E [yyyy-MM-dd]");
	public String getDispalyName() {
		if (today!=null){
			return df.format(today);
		}else{
			return "";
		}
	}

	public void setDispalyName(String dispalyName) {
		this.dispalyName = dispalyName;
	}
	
	

}
